package com.ccp.dev.workflow.model;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sysTemplates", propOrder = {
        "sysTemplates"
})
@XmlRootElement
public class SysTemplates {
    @XmlElement(nillable = true)
    protected List<SysTemplate> sysTemplates;

    /**
     * Gets the value of the sysTemplates property.
     *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the sysTemplates property.
     *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSysTemplates().add(newItem);
     * </pre>
     *
     *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SysTemplate }
     *
     *
     */
    public List<SysTemplate> getSysTemplates() {
        if (sysTemplates == null) {
            sysTemplates = new ArrayList<SysTemplate>();
        }
        return this.sysTemplates;
    }

    public void setSysTemplates(List<SysTemplate> sysTemplates) {
        this.sysTemplates = sysTemplates;
    }
}
